#ifndef __tank1_H__
#define __tank1_H__
#include "cocos2d.h"
#include "Tank.h"
using namespace cocos2d;
class Tank1: public Tank {
public:
    float time;
	float lasttime;
    CCPoint home;
    //float chktime;
    void update(float dt);
    Tank1(float x, float y);
	Tank1(const char * filepath,float x, float y);
	void changedir();
    float juli(CCPoint o1,CCPoint o2);
    int too2(CCPoint o1,CCPoint o2);
};
class Tank2: public Tank1 {

public:
    Tank2(float x, float y);
};
class Tank3: public Tank1 {

public:
    Tank3(float x, float y);
};
#endif

